<?php 
//Parameters
$host = 'localhost';
$login = 'root';
$pass = '911';
$db = 'pzshop2_pzschool';
try {
  $myPdo = new PDO ("mysql:host=$host", $login, $pass);
  $myPdo->exec("USE $db");
  $myPdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
}

$myPdo->exec('UPDATE `pz_sys_plugin_student_invoices` SET total_tuition_qo=total_tuition');
$myPdo->exec('UPDATE `pz_sys_plugin_student_invoices` SET total_accommodation_qo=total_accommodation');
$myPdo->exec('UPDATE `pz_sys_plugin_student_invoices` SET total_insurance_qo=total_insurance');

?>